package com.gkj.gulimall.menber.feign;

import com.gkj.gulimall.common2.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.awt.*;

/**
 * 这是一个声明式的远程调用
 */
@FeignClient(value = "gulimall-coupon")
public interface CouponFeignService {

//    @RequestMapping("/coupon/coupon/member/list")
//    public R membercoupons();
@RequestMapping("/coupon/coupon/member/list")
public R menbercoupons();
}


